import { connect } from 'react-redux'
import Item from '../components/Item/Item'
import { update } from '../redux/actions'
export default connect(null, { xg: update })(Item)

// function mapDispatchToProps(dispatch) {
//   return {
//     xg: function (id) {
//       dispatch(update(id))
//     },
//   }
// }
